<template>
  <!-- 人才画像：嵌入外链的页面 -->
  <div>
    <iframe :src="iframeUrl" frameborder="0" width="100%"></iframe>
  </div>
</template>
<script>
export default {
  data() {
    return {
      iframeUrl: window.globalUrl.zphzUrl,
    };
  },
  created() {
    this.init();
  },
  methods: {
    init() {
      let expertId = this.$route.query.expertId;
      if (expertId) {
        this.iframeUrl = this.iframeUrl + "talent-detail/" + expertId;
      }
    },
  },
};
</script>
<style lang="scss" scoped>
iframe {
  width: 100%;
  height: calc(100vh - 60px);
}
</style>
